package com.xjj.datarources.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xjj.datarources.vo.Admininfo;
import com.xjj.datarources.vo.MysqlVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @name: xjj
 * @date: 2021/5/20 14:37
 */
@Mapper
public interface MysqlMapper extends BaseMapper<MysqlVo> {


    @Select("select  id, name from name ${ew.customSqlSegment}")
    //
    IPage<MysqlVo> selectAdminByPage(Page page, @Param(Constants.WRAPPER) Wrapper wrapper);


}
